package com.example.demo.mapper.entity;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name="commodity")
public class Commodity {
    @Id
    private int commodityId;
    private int isOffline;
    private String commodityName;
    private int category;
    private int couponsId;
    private int clothingId;
    private int pointsRequired;
    private int stock;
    private String imageUrl;
    private String description;
    private String createdAt;
    private String updatedAt;
    private int version;
}
